<template>
  <div class="mt-5 bg-gray-300 p-5" title="父组件" :can-expan="false">
    <h3>父-组件</h3>
    <ul>
      <li>截胡一个属性 aliasName:{{ aliasName }}</li>
    </ul>

    <Child v-bind:="$attrs" />
  </div>
</template>
<script lang="ts" setup>
  import Child from './Child.vue';

  // 截胡一个属性
  defineProps(['aliasName']);

</script>

<style lang="less" scoped>
  button {
    margin-left: 5px;
  }

  li {
    margin-top: 10px;
  }

  div {
    border-radius: 10px;
  }
</style>
